#include <iostream>
using namespace std;
int main()
{
    int year,month,day;
    cin>>year>>month>>day;
    cout<<year<<"-"<<month<<"-"<<day;
    return 0;
}